home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 22
/
PC Gamer IT CD 22.iso
/
SPACEBAR
/
DATA.Z
/
BAR.WLD
< prev
next >
Wrap
Text File
|
1997-01-30
|
13KB
|
394 lines
// Spacebar demo
START_WLD=INTRO1A_WLD
DISKID=1
SHAREDPAL=$SBARDIR\BAR\CURSORS\NOT.BMP
CURSOR 0 = 15 15 $SBARDIR\BAR\CURSORS\NOT.BMP = USESHAREDPAL
CURSOR 1 = 16 1 $SBARDIR\BAR\CURSORS\HUMAN.BMP = USESHAREDPAL
CURSOR 2 = 9 9 $SBARDIR\BAR\CURSORS\ZOOM.BMP = USESHAREDPAL
CURSOR 5 = 16 1 $SBARDIR\BAR\CURSORS\LINK.BMP = USESHAREDPAL
CURSOR 6 = 15 15 $SBARDIR\BAR\CURSORS\WAIT.BMP = USESHAREDPAL
CURSOR 10 = 0 0 $SBARDIR\BAR\CURSORS\EXIT.BMP = USESHAREDPAL
CURSOR 14 = 0 14 $SBARDIR\BAR\CURSORS\LEFT.BMP = USESHAREDPAL
CURSOR 15 = 15 0 $SBARDIR\BAR\CURSORS\UPARROW.BMP = USESHAREDPAL
CURSOR 16 = 31 15 $SBARDIR\BAR\CURSORS\RIGHT.BMP = USESHAREDPAL
CURSOR 17 = 15 31 $SBARDIR\BAR\CURSORS\DOWN.BMP = USESHAREDPAL
// Wield Cursors -- removed all but drink & datacart for demo - bar 01-27-97
CURSOR 47 = 17 1 $SBARDIR\BAR\WIELD\bztd.bmp = USESHAREDPAL
VAR TURNCOUNT AS TIMER = 1850 // VAR FOR CURRENT GAME TIME
VAR INBAR = 1
VAR TEMP1 = 0
VAR RPEVENT = FALSE // jwl 11.07.96 used to trigger a rp queue update event
VAR PDAZOOMED = FALSE // GENERAL USE VAR TO TELL US WHEN PDA IS ZOOMED
VAR PDAINCREMENT = 11 // HOW MUCH TO INCREMENT THE PDA WHEN ACTIVATING
VAR PDADEACTIVATE = FALSE // DEACTIVATE THE PDA?
// DEMO: Intro storage devices. First three storage devices
// provide background info for the game. Each is a click
// to continue. The third one is a link to the entry
// vestibule.
SDEV INTRO1A_WLD AS CHAT {
SET BKG=$SBARDIR\GENERAL\TEXT1A.BMP;
SET ARE=[1,1,635,479]%5{
LNK=INTRO1B_WLD FADE 3;
};
}
SDEV INTRO1B_WLD AS CHAT {
SET BKG=$SBARDIR\GENERAL\TEXT1A.BMP;
SET BMP=$SBARDIR\GENERAL\TEXT1B.BMP [0,0];
SET ARE = [1,1,635,479]%5{
RUN LNK=INTRO1C_WLD FADE 3;
};
}
SDEV INTRO1C_WLD AS CHAT {
SET BKG=$SBARDIR\GENERAL\TEXT1A.BMP;
SET BMP=$SBARDIR\GENERAL\TEXT1C.BMP [0,0];
SET ARE = [1,1,635,479]%5{
RUN LNK = BDP_WLD FADE 3;
};
}
// DEMO: Storage device for text2x screen.
// "There's a lot more than fits in this teeny-weeny demo..."
SDEV TXT2_WLD AS CHAT {
SET BKG=$SBARDIR\GENERAL\TEXT2.BMP;
SET ARE = [0, 0, 80, 480] %10{
RUN COMMAND = CLOSE;
}
}
// DEMO: Storage device for text3 screen.
// "There's a lot more of this flashback..."
SDEV TXT3_WLD AS CHAT {
SET BKG=$SBARDIR\GENERAL\TEXT3.BMP;
}
// DEMO: Removed the entry vestibule.
// BAR AREA
SDEV BDP_WLD{
SET BKG=$SBARDIR\BAR\PAN\BDP.BMP;
RUN EXPR=BARLOC(BDP);
RUN EXPR=BARCROWD~~VOLUME(8);
RUN EXPR=BARMUSIC~~VOLUME(10);
// Link to Outside Howdy Saloon
//
// DEMO: Replaced link to outside the saloon with a link to
// to a "far as you can go" screen.
SET ARE=[237,185,315,301]%5{
RUN LNK = BDP_WLD~~TXT2_WLD
};
// DEMO: Replace link to the gambling hall with a "far as you can go" screen.
SET LNK=BDP_WLD~~TXT2_WLD[105,179,208,341]@[900,130];
// Link to The Lily Pad
// DEMO: Replaced link to the lily pad with a link to
// "far as you can go" screen.
SET ARE = LILY [409,187,501,307]%5{
RUN LNK = BDP_WLD~~TXT2_WLD
};
// Link to Dance Floor
// DEMO: Replaced link to the dance floor with a link to
// "far as you can go" screen.
SET LNK=BDP_WLD~~TXT2_WLD[1258,207,1460,323]@[878,75];
// Link to Entry Vestibule
SET LNK=BDP_WLD~~TXT2_WLD[686,199,766,276]@[660,125];
// Link Bar Computer
SET LNK=BDP_WLD~~TXT2_WLD[8,248,85,360]%2;
// Drinkmaster
SET ARE=DRINKMASTER[824,172,956,300]%2{
RUN LNK = SOLDIER_WLD;
};
// Soldier 714
SET CHR=$SBARDIR\GENERAL\PANIMS\BDSO1.SMK[874,196]%2{
RUN LNK = SOLDIER_WLD;
};
IF (SOLDIER_MET == 1)
// Only play Zelda's line if you didn't flash back w/Soldier bar 11/27/96
IF (ZFLASHBACK == 0)
RUN MOVIE=$SBARDIR\BAR\EVENTS\EVZESO.SMK[97,292] AS PDAMSG DONTOVERRIDE DONTINCREMENT;
RUN EXPR=SOLDIER_MET(2);
ENDIF
ENDIF
// Thud and Fleebix
SET ARE=THUDANDFLEEB[1150,242,1256,360]%2{
IF (TBHIDE == TRUE)
// DEMO: Remove Thud hide support.
RUN COMMAND = INSERT OBJECT FBTHMOVIE TO FLEETHUD_WLD;
RUN EXPR = FBTHMOVIE~~MODAL( 0 );
RUN EXPR = FBTHMOVIE~~LOOP( -1 );
RUN EXPR = TBHIDECOUNT( 0 );
RUN EXPR = TBHIDE( FALSE );
ENDIF
RUN LNK = FLEETHUD_WLD AS CLOSEUP;
};
// Thud
SET CHR=$SBARDIR\GENERAL\PANIMS\BDTB1.SMK[1150,254]%2{
IF (TBHIDE == TRUE)
// DEMO: Remove Thud hide support.
RUN COMMAND = INSERT OBJECT FBTHMOVIE TO FLEETHUD_WLD;
RUN EXPR = FBTHMOVIE~~MODAL( 0 );
RUN EXPR = FBTHMOVIE~~LOOP( -1 );
RUN EXPR = TBHIDECOUNT( 0 );
RUN EXPR = TBHIDE( FALSE );
ENDIF
RUN LNK = FLEETHUD_WLD AS CLOSEUP;
};
IF (THUD_GREET == TRUE)
IF (THUD_MET == 0)
// only have Zelda make the comment if Thud was last one speaking in CIC
IF (THUDLAST == TRUE)
RUN MOVIE=$SBARDIR\BAR\EVENTS\EVZETH.SMK[97,292] AS PDAMSG DONTOVERRIDE DONTINCREMENT;
RUN EXPR=THUD_MET(2);
ENDIF
ENDIF
ENDIF
// DEMO: Add the Mytosi panimation without a link
SET CHR=$SBARDIR\GENERAL\PANIMS\BDMY1.SMK[712,260];
// DEMO: Removed link to mydw_wld when sararrive_evt is eq to 6666
// PAKSHA STANDING IN DINING AREA
// SET CHR=$SBARDIR\GENERAL\PANIMS\BDPK1.SMK[1636,226];
// CIGARETTE SMOKE
SET CHR=$SBARDIR\GENERAL\PANIMS\BDNC2.SMK[1084,246];
// MOTHS SITTING AT TABLE
SET CHR=$SBARDIR\GENERAL\PANIMS\BDMO1.SMK[1640,218];
// DEMO: Removed link to mydw_wld and dwelf sitting at bar if sararrive_evt eq 6666
// BAND PLAYING WITHOUT BANDLEADER
SET CHR=$SBARDIR\GENERAL\PANIMS\BDBD1.SMK[1298,236];
// CHECK TO SEE IF THE BANDLEADER SHOULD STILL BE AROUND
SET CHR=$SBARDIR\GENERAL\PANIMS\BDBL1.SMK[1334,242]; // BANDLEADER
// Cilia (seen from Bar)
SET CHR=$SBARDIR\GENERAL\PANIMS\BDCI1.SMK[1372,242];
// SRAFFAN LOOKING OUT WINDOW
SET CHR=$SBARDIR\GENERAL\PANIMS\BDNC3.SMK[1438,252];
// DEMO: Removed the catwalk
// DEMO: Removed the three spaceport windows.
}
// Soldier CIC
SDEV SOLDIER_WLD AS CIC{
SET BKG = $SBARDIR\BAR\CHAR\SOLDIER\BLACK.BMP;
SET CHR = $SBARDIR\BAR\CHAR\SOLDIER\SONEUTR2.SMK^SOLDMOVIE [80,0] %0;
// Mister Drinkmaster 2000
SET ARE=BDNP[80,82,247,216]%1{
SET TXT = Mister_DrinkMaster_2000 COLOR 2 AS TITLE; //%%9860
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\CHAR\SOLDIER\BDNPEXC1.WAV AS QUEUE *2;
};
// DEMO: Removed turnon interaction.
SET BMP=$SBARDIR\GENERAL\MENUS\OPEN.BMP{
RUN COMMAND = FLUSHQUEUE2;
RUN MOVIE=$SBARDIR\BAR\CHAR\SOLDIER\BDNPOPC1.SMK;
};
// DEMO: Removed search interaction.
};
// DEMO: Removed link to brooch as you can't complete the zzazzl flashback
SET ARE= [245,110,385,340] %1 {
SET TXT=Soldier_714-Z-367 COLOR 2 SIZE 16 AS TITLE; //%%9896
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\CHAR\SOLDIER\SOOSEX.WAV AS QUEUE *2;
};
// IF (SOLDIER_GREET == FALSE)
SET BMP=$SBARDIR\GENERAL\MENUS\GREET.BMP{
RUN EXPR = SOLDMOVIE~~MODAL( 1 );
RUN EXPR = SOLDMOVIE~~LOOP( 1 );
RUN COMMAND = FLUSHQUEUE2;
RUN MOVIE=$SBARDIR\BAR\CHAR\SOLDIER\SOOSGR.SMK;
RUN EXPR = SOLDMOVIE~~MODAL( 0 );
RUN EXPR = SOLDMOVIE~~LOOP( -1 );
RUN COMMAND = INSERT OBJECT SOLDIER TO LOG_WLD;
RUN EXPR=SOLDIER~~ROOM(4);
RUN EXPR=SOLDIERZ~~ROOM(4);
// DEMO: Removed voiceprinter and infrared jammer code.
RUN EXPR=SOLDIER_GREET(TRUE);
};
// ENDIF
// DEMO: Removed ask interaction.
// DEMO: Removed order interaction.
// DEMO: Removed chat interaction.
};
// DEMO: Removed your_drink - BDTO3.BMP^DRINK3 - bar 01-22-97
}
// Fleebix & Thud CIC
SDEV FLEETHUD_WLD AS CIC{
SET BKG=$SBARDIR\BAR\CHAR\THUD\BLACK.BMP;
SET CHR = $SBARDIR\BAR\CHAR\THUD\TBNEUTR1.SMK^FBTHMOVIE [80,0] %0;
// DEMO: Remove Thud's hide loop.
// DEMO: Removed support to make thud hide.
SET ARE= [150,155,250,310]^FLEEBIX %1 {
SET TXT=Fleebix COLOR 2 SIZE 16 AS TITLE; //%%9030
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\CHAR\FLEEBIX\FBOSEX.WAV AS QUEUE *2;
};
// DEMO: Removed smell interaction.
// IF (FLEEB_GREET == FALSE )
SET BMP=$SBARDIR\GENERAL\MENUS\GREET.BMP{
RUN EXPR = FBTHMOVIE~~MODAL( 1 );
RUN EXPR = FBTHMOVIE~~LOOP( 1 );
RUN COMMAND = FLUSHQUEUE2;
RUN MOVIE=$SBARDIR\BAR\CHAR\FLEEBIX\FBOSGR.SMK;
RUN EXPR = FBTHMOVIE~~MODAL( 0 );
RUN EXPR = FBTHMOVIE~~LOOP( -1 );
RUN COMMAND = INSERT OBJECT FLEEBIX TO LOG_WLD;
// DEMO: Removed voiceprinter and ir jammer support.
RUN EXPR = THUDLAST( FALSE );
RUN EXPR = FLEEB_GREET( TRUE );
};
// DEMO: Removed ask interaction
// DEMO: Removed chat because it gets to the neblitz flashback. That's not part of the demo.
// ENDIF
};
SET ARE= [350,135,545,359] %1 {
SET TXT=Thud COLOR 2 SIZE 16 AS TITLE; //%%9528
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\CHAR\THUD\TBOSEX.WAV AS QUEUE *2;
};
// DEMO: Removed kiss interaction.
// DEMO: Removed smell interaction.
// IF (THUD_GREET == FALSE)
SET BMP=$SBARDIR\GENERAL\MENUS\GREET.BMP{
RUN EXPR = FBTHMOVIE~~MODAL( 1 );
RUN EXPR = FBTHMOVIE~~LOOP( 1 );
RUN COMMAND = FLUSHQUEUE2;
RUN MOVIE=$SBARDIR\BAR\CHAR\THUD\TBOSGR.SMK;
RUN EXPR = FBTHMOVIE~~MODAL( 0 );
RUN EXPR = FBTHMOVIE~~LOOP( -1 );
RUN COMMAND = INSERT OBJECT THUD TO LOG_WLD;
// DEMO: Removed voiceprinter and ir jammer support.
RUN EXPR = THUDLAST( TRUE );
RUN EXPR = THUD_GREET( TRUE );
};
// ENDIF
};
}
// End Fleebix & Thud CIC
// DEMO: Removed mydw_wld
SDEV BPDA_WLD AS PDA{
SET BKG=$SBARDIR\BAR\PDA\BPDA.BMP;
SET ARE=DEACTIVE[0,0,514,238]{
RUN COMMAND = DEACTIVATEPDA;
};
SET BUT=$SBARDIR\BAR\PDA\BMAP.BMP[123,188]+1^100;
SET BUT=$SBARDIR\BAR\PDA\BSTASH.BMP[165,188]+1^101;
// Zoomlite unnecessary
// SET BUT=$SBARDIR\BAR\PDA\ZOOMLITE.BMP[208,187]+2^ZOOMFLASH FRAMERATE 4;
// DEMO: Disabled the zoom button -- click brings up text. - bar 01-27-96
SET BUT=$SBARDIR\BAR\PDA\BZOOM.BMP[208,187]+2^102 {
SET TXT = $SBARDIR\GENERAL\NOTINCL.TXT COLOR 2 AS CAPTION;
};
SET BUT=$SBARDIR\BAR\PDA\BSYSTEM.BMP[262,188]+1^103 {
SET TXT = $SBARDIR\GENERAL\NOTINCL.TXT COLOR 2 AS CAPTION;
};
// DEMO: Disabled the PDA log button.
SET BUT=$SBARDIR\BAR\PDA\BLOG.BMP[304,188]+1^114 {
SET TXT = $SBARDIR\GENERAL\NOTINCL.TXT COLOR 2 AS CAPTION;
};
SET CHR=$SBARDIR\BAR\PDA\BWAND.SMK^WANDANIM LOOP 0[41,8];
SET BUT=$SBARDIR\BAR\PDA\BBLINK.BMP[361,133]^110^MSGLIGHT+2{
RUN EXPR=ZELDA_REM(6666);
}
SET TIME=$SBARDIR\BAR\PDA\BTIME.BMP[410,140]^CLOCK+11 VALUE TURNCOUNT;
SET SPR=$SBARDIR\BAR\MAP\NAMES\BD.BMP[377,82];
}
SDEV MAP_WLD AS BMP RECT [116, 61, 350, 172]{
SET BKG=$SBARDIR\BAR\MAP\BARMAP.BMP;
// THE YOU ICON
SET SPR=$SBARDIR\BAR\MAP\YOU.BMP[57,52]+2;
}
SDEV INV_WLD AS INVWLD RECT [116, 61, 350, 172]{
SET BKG=$SBARDIR\BAR\INV\INVBACK.BMP;
// DATACART
SET BMP=$SBARDIR\BAR\INV\BZTD.BMP^DATACART{
SET TXT = datacart COLOR 2 AS TITLE; //%%2950
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\OBJ\BZTDEXC1.WAV AS QUEUE *2;
};
SET BMP=$SBARDIR\GENERAL\MENUS\PICKUP.BMP{
RUN COMMAND=TRANSFER OBJECT DATACART FROM INV_WLD TO BWIELD_WLD;
};
};
}
SDEV BWIELD_WLD AS WIELD{
BKG=$SBARDIR\BAR\WIELD\HUMYOU2.BMP;
SET ARE = [0,0,100,100] {
SET TXT =Alias_Node COLOR 2 SIZE 16 AS TITLE; //%%135
SET BMP=$SBARDIR\GENERAL\MENUS\WAIT.BMP {
RUN SND = $SBARDIR\GENERAL\WAIT.WAV;
RUN COMMAND = EVENTLOOP;
RUN COMMAND = UPDATE;
};
};
// DATACART
HOLD BMP=$SBARDIR\BAR\WIELD\BZTD.BMP^DATACART #47{
SET TXT = datacart COLOR 2 AS TITLE; //%%2251
SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
RUN SND=$SBARDIR\BAR\OBJ\BZTDEXC1.WAV AS QUEUE *2;
};
SET BMP=$SBARDIR\GENERAL\MENUS\STASH.BMP{
RUN COMMAND=TRANSFER OBJECT DATACART FROM BWIELD_WLD TO INV_WLD;
RUN EXPR=DC_DART_EVT(6666);
};
};
// DEMO: Removed the high frequency jammer
}
SDEV MOO_WLD AS MOOWLD RECT [116, 61, 350, 172]{
SET BKG=$SBARDIR\BAR\INV\INVBACK.BMP;
}
SDEV EVT_WLD AS EVENT{
IF (BARCROWD~~PLAYING == 0)
RUN EXPR=BARCROWD~~VOLUME(0);
RUN SND=$SBARDIR\BAR\EVENTS\BARBREAK.WAV^BARCROWD LOOP 1999999 AS MIX IS TIMELESS SOUNDOVEROK;
ENDIF
IF (BARMUSIC~~PLAYING == 0)
RUN SND=$SBARDIR\BAR\EVENTS\BARBAND1.MID^BARMUSIC LOOP 2 AS MIDI IS TIMELESS;
ENDIF
// BULBUS FLIGHT DELAYED TO 22:90
IF ( FLIGHT_MSG==1 AND TURNCOUNT > 1855 )
RUN SND=$SBARDIR\BAR\EVENTS\EVFLA5.WAV AS QUEUE *1 SOUNDOVEROK VOLUME 7;
RUN EXPR=FLIGHT_MSG(2);
ENDIF
}
//SDEV LOG_WLD AS LOG RECT [116, 61, 350, 172] {
// SET BKG=$SBARDIR\BAR\INV\INVBACK.BMP;
//}
SDEV TURN_WLD AS TURNEVENT {
IF (TURNCOUNT == ENDTURN)
RUN EXPR = TURNCOUNT( STARTTURN );
ENDIF
// BULBUS FLIGHT DELAYED TO 22:90
IF ( FLIGHT_MSG==1 AND TURNCOUNT > 1855 )
RUN SND=$SBARDIR\BAR\EVENTS\EVFLA5.WAV AS QUEUE *1 SOUNDOVEROK VOLUME 7;
RUN EXPR=FLIGHT_MSG(2);
ENDIF
}